package com.cashmama.market.api.domain.vo.product;


import java.util.List;

/**
 *借款组合
 */
public class BorrowCashVO {

    /**
     * 是否锁住
     */
    private Boolean locked;
    /**
     * 金额
     */
    private Integer amount;

    /**
     * 期数数组
     */
    private List<BorrowCashPeriodVO> borrowCashPeriods;

    public BorrowCashVO() {
    }

    public BorrowCashVO(Boolean locked, Integer amount, List<BorrowCashPeriodVO> borrowCashPeriods) {
        this.locked = locked;
        this.amount = amount;
        this.borrowCashPeriods = borrowCashPeriods;
    }

    public Boolean getLocked() {
        return locked;
    }

    public BorrowCashVO setLocked(Boolean locked) {
        this.locked = locked;
        return this;
    }

    public Integer getAmount() {
        return amount;
    }

    public BorrowCashVO setAmount(Integer amount) {
        this.amount = amount;
        return this;
    }

    public List<BorrowCashPeriodVO> getBorrowCashPeriods() {
        return borrowCashPeriods;
    }

    public BorrowCashVO setBorrowCashPeriods(List<BorrowCashPeriodVO> borrowCashPeriods) {
        this.borrowCashPeriods = borrowCashPeriods;
        return this;
    }
}
